package com.clms.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clms.system.pojo.entitry.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.*;

@Mapper
public interface MenuMapper extends BaseMapper<SysMenu> {
    List<SysMenu> findleftmenubyuserid(Integer userid);

    List<SysMenu> findmenubyRoleid(Integer roleId);

    void deletebyroleId(Integer roleId);

    void insertrolemenu(List<Integer> roleMenuIds, Integer roleId);
}
